﻿using System;
using System.Collections.Generic;
using System.Text;
using SQLite;

namespace FileSystem.Models {
    /// <summary>
    /// 根目录
    /// </summary>
    public class RootDirItem {
        /// <summary>
        /// Id
        /// </summary>
        [PrimaryKey]
        [AutoIncrement]
        public int Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 目录项名称
        /// </summary>
        public string DirItemName { get; set; }
    }

    /// <summary>
    /// 根目录项常量
    /// </summary>
    public static class RootDirItemConst {
        public enum Property {
            UserName,
            DirItemName
        }
    }
}